home *** CD-ROM | disk | FTP | other *** search
-
- HunkReader is Copyright © 1997-1999 Andrew Bell.
-
- This is version, 1.4 (27.8.99)
-
- (If you don't know what a hunk, segment, reloc table, etc. is then
- you souldn't be using this program :)
-
- ----------------------------------------------------------------------
- DISCLAIMER
- ----------------------------------------------------------------------
-
- THIS SOFTWARE IS PROVIDED "AS IS", NO WARRENTY IS GIVEN, EXPRESSED
- OR IMPLIED. BY USING THIS SOFTWARE, YOU ARE RESPONSIBLE FOR ANY
- DAMAGES THAT OCCUR DIRECTLY OR INDIRECTLY AS A RESULT FROM THE USE
- OR MISUSE OF IT.
-
- ----------------------------------------------------------------------
- LEGAL
- ----------------------------------------------------------------------
-
- HunkReader (HR) and all related files are Copyright © 1999 Andrew Bell.
- All rights reserved.
-
- HR may be distributed free of charge.
-
- HR may be distributed via any form, as long as no profit is ask for.
-
- When distributing all files must remain together.
-
- ----------------------------------------------------------------------
- INTRODUCTION
- ----------------------------------------------------------------------
-
- HR is EMAILWARE, if you use it often, then please send the author a
- e-mail, I'd like get get a rough idea of how many people are using it
- thanks.
-
- (my e-mail address is below).
-
- HR is a program that views the hunk structure of executable files. Don't
- use it on link libs (about 15% of linklib hunks are not supported), not
- all HUNK_EXTs are supported. HR does not like overlayed files much.
-
- This program might be useful to thoses of you who write utilities that
- procedure executable files.
-
- ----------------------------------------------------------------------
- INSTALLATION
- ----------------------------------------------------------------------
-
- Copy the HR executable to the C: drawer.
-
- ----------------------------------------------------------------------
- USAGE
- ----------------------------------------------------------------------
-
- This program can only be used from Shell or CLI. To start it, open
- your Shell window out wide and type HR <filename>. Where <filename> is,
- is the location of the executable file that you want to examine.
-
- ----------------------------------------------------------------------
- PARAMETERS
- ----------------------------------------------------------------------
-
- Quick overview of the parameters:
-
- FILE/A = Name of executable file to dump.
- DSYM/S = Display symbol blocks.
- DREL/S = Display relocs (Handy for making exes smaller!).
- DEXT/S = Display HUNK_EXTs (Unfinished).
- STATS/S = Display some information about the file that has just been
- processed.
-
- Don't use the DREL/S parameter on very large files. For example, the
- MAME executable has more than 165000 relocs! The file itself, is about
- 4MB, 600K of that is used by HUNK_RELOC32 entries. I feal sorry for
- dos.library/LoadSeg() :-)
-
- ----------------------------------------------------------------------
- HISTORY
- ----------------------------------------------------------------------
-
-
- 1.0 - (17.11.97)
-
- o First working version.
-
- 1.1 - (17.12.97)
-
- o STATS options now displays total allocation size.
-
- 1.2 - (10.8.98)
-
- o Clean up source code.
- o Full proto checking.
- o Added inline calls.
- o Fixed a bug comcerning VPrintf()
- o Cleaned up data types. Uses #defines for internal dates.
- o Internal version tag is now static.
- o Fixed a bug concerning HUNK_RELOC32SHORTs.
-
- 1.3 - (27.3.99)
-
- o Some things cleaned up & minor changes.
- o First public release via website (beta version).
-
- 1.4 - (27.8.99)
-
- o Ported to the Hisoft C++ compiler.
- o Source code cleaned up.
- o Added buffered IO routines.
- o Replaced VPrintf() calls with Printf().
-
- ----------------------------------------------------------------------
- AUTHOR
- ----------------------------------------------------------------------
-
- Andrew Bell
-
- Please contact me via e-mail at:
-
- andrew.ab2000@bigfoot.com
- or
- andrew@ab2000.prestel.co.uk
-